package com.wsl.tibet_provider.controller;

import com.wsl.pojo.Tb_specification;
import com.wsl.tibet_provider.service.Tb_specificationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/user")
public class Tb_specificationController {
    @Autowired
    private Tb_specificationService tb_specificationService;

    @RequestMapping("/slectAll")
    public List<Tb_specification> selectAll() {
        return tb_specificationService.selectAll();
    }
}
